package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.context.annotation.Bean;

/**
 * 个人信息对象 yc_personal
 *
 * @author 杨琛
 * @date 2020-09-10
 */
public class YcPersonal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String uName;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String uPhone;

    /**
     * 电子邮箱
     */
    @Excel(name = "电子邮箱")
    private String uEmail;

    /**
     * 身份证
     */
    @Excel(name = "身份证")
    private String uCard;

    /**
     * 学历
     */
    @Excel(name = "学历")
    private Integer uEducation;

    /**
     * 学位
     */
    @Excel(name = "学位")
    private Integer uDegree;

    /**
     * 职称
     */
    @Excel(name = "职称")
    private Integer uRank;

    /**
     * 所在系部
     */
    @Excel(name = "所在系部")
    private Integer uDepartment;

    /**
     * 研究方向
     */
    @Excel(name = "研究方向")
    private Integer uResearch;

    /**
     * 关联id
     */
    @Excel(name = "关联id")
    private Long uId;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private Integer uSex;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuName() {
        return uName;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuEmail(String uEmail) {
        this.uEmail = uEmail;
    }

    public String getuEmail() {
        return uEmail;
    }

    public void setuCard(String uCard) {
        this.uCard = uCard;
    }

    public String getuCard() {
        return uCard;
    }

    public void setuEducation(Integer uEducation) {
        this.uEducation = uEducation;
    }

    public Integer getuEducation() {
        return uEducation;
    }

    public void setuDegree(Integer uDegree) {
        this.uDegree = uDegree;
    }

    public Integer getuDegree() {
        return uDegree;
    }

    public void setuRank(Integer uRank) {
        this.uRank = uRank;
    }

    public Integer getuRank() {
        return uRank;
    }

    public void setuDepartment(Integer uDepartment) {
        this.uDepartment = uDepartment;
    }

    public Integer getuDepartment() {
        return uDepartment;
    }

    public void setuResearch(Integer uResearch) {
        this.uResearch = uResearch;
    }

    public Integer getuResearch() {
        return uResearch;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    public Long getuId() {
        return uId;
    }

    public void setuSex(Integer uSex) {
        this.uSex = uSex;
    }

    public Integer getuSex() {
        return uSex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uName", getuName())
                .append("uPhone", getuPhone())
                .append("uEmail", getuEmail())
                .append("uCard", getuCard())
                .append("uEducation", getuEducation())
                .append("uDegree", getuDegree())
                .append("uRank", getuRank())
                .append("uDepartment", getuDepartment())
                .append("uResearch", getuResearch())
                .append("uId", getuId())
                .append("uSex", getuSex())
                .toString();
    }
}
